package com.tiantai.dashboard.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiantai.common.annotation.Excel;
import com.tiantai.common.core.domain.BaseEntity;

/**
 * 标记管理对象 tea_marker
 * 
 * @author handsomedog
 * @date 2024-07-25
 */
public class TeaMarker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标记ID */
    private Long id;

    /** 标记名称 */
    @Excel(name = "标记名称")
    private String name;

    /** 标记背景色 */
    @Excel(name = "标记背景色")
    private String background;

    /** 标记字体色 */
    @Excel(name = "标记字体色")
    private String fontColor;

    /** 标记类型 */
    @Excel(name = "标记类型")
    private Integer type;

    /** 触发内容 */
    @Excel(name = "触发内容")
    private String content;

    /** 标记位置 */
    @Excel(name = "标记位置")
    private String position;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBackground(String background)
    {
        this.background = background;
    }

    public String getBackground()
    {
        return background;
    }
    public void setFontColor(String fontColor) 
    {
        this.fontColor = fontColor;
    }

    public String getFontColor() 
    {
        return fontColor;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("background", getBackground())
            .append("fontColor", getFontColor())
            .append("type", getType())
            .append("content", getContent())
            .append("position", getPosition())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
